﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
	<class  name="OrbitOne.Elmah.DAL.Entities.AgentEntity, OrbitOne.Elmah.DAL" proxy="OrbitOne.Elmah.DAL.Entities.AgentEntity, OrbitOne.Elmah.DAL" table="Agent" lazy="true">
		<id  name="Id" type="Guid" unsaved-value="any">
			<column name="Id" length="16" sql-type="uniqueidentifier" not-null="true" unique="true" index="PK_Agent_1"/>
			<generator class="assigned" />
		</id>
		<property name="Name" type="String">
			<column name="Name" length="50" sql-type="nvarchar" not-null="true"/>
		</property>
		<property name="CreatedOn" type="DateTime">
			<column name="CreatedOn" length="8" sql-type="datetime" not-null="true"/>
		</property>
		<property name="LastHeartbeat" type="DateTime">
			<column name="LastHeartbeat" length="8" sql-type="datetime" not-null="true"/>
		</property>
		<property name="IsActive" type="Boolean">
			<column name="IsActive" length="1" sql-type="bit" not-null="true"/>
		</property>
    <property name="Description" type="string">
      <column name="Description" length="1024" sql-type="nvarchar" not-null="false"/>
    </property>
	</class>
</hibernate-mapping>
